-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add managed_instance_scaling to sagemaker endpoint config production_variants #35479
add managed_instance_scaling to sagemaker endpoint config production_variants #35479
Conversation
Community NoteVoting for Prioritization
For Submitters
|
823a081
to
846d9eb
Compare
eb4db26
to
b26025c
Compare
f8bebfa
to
73bd1c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
deepakbshetty can you add changelog entry? |
f49de2d
to
6fa6b4e
Compare
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
Hi @DrFaust92 Changelog added and rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing tests
I am struggling to find a jumpstart model that actually supports managed instance scaling. The model specified in original issue does not. `endpoint_configuration_test.go:162: Step 1/3 error: Error running apply: exit status 1
|
deepakbshetty Thats tricky, ill see what i can find |
ab13eae
to
46b041b
Compare
Hi @DrFaust92 Managed to add test now. All checks passing. Kindly review.
|
46b041b
to
2fbe7eb
Compare
…variants and shadow_production_variants
2fbe7eb
to
9af49c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccSageMakerEndpointConfiguration_' PKG=sagemaker ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.0 test ./internal/service/sagemaker/... -v -count 1 -parallel 3 -run=TestAccSageMakerEndpointConfiguration_ -timeout 720m
=== RUN TestAccSageMakerEndpointConfiguration_basic
=== PAUSE TestAccSageMakerEndpointConfiguration_basic
=== RUN TestAccSageMakerEndpointConfiguration_nameGenerated
=== PAUSE TestAccSageMakerEndpointConfiguration_nameGenerated
=== RUN TestAccSageMakerEndpointConfiguration_namePrefix
=== PAUSE TestAccSageMakerEndpointConfiguration_namePrefix
=== RUN TestAccSageMakerEndpointConfiguration_shadowProductionVariants
=== PAUSE TestAccSageMakerEndpointConfiguration_shadowProductionVariants
=== RUN TestAccSageMakerEndpointConfiguration_ProductionVariants_routing
=== PAUSE TestAccSageMakerEndpointConfiguration_ProductionVariants_routing
=== RUN TestAccSageMakerEndpointConfiguration_ProductionVariants_serverless
=== PAUSE TestAccSageMakerEndpointConfiguration_ProductionVariants_serverless
=== RUN TestAccSageMakerEndpointConfiguration_ProductionVariants_ami
=== PAUSE TestAccSageMakerEndpointConfiguration_ProductionVariants_ami
=== RUN TestAccSageMakerEndpointConfiguration_ProductionVariants_serverlessProvisionedConcurrency
=== PAUSE TestAccSageMakerEndpointConfiguration_ProductionVariants_serverlessProvisionedConcurrency
=== RUN TestAccSageMakerEndpointConfiguration_ProductionVariants_initialVariantWeight
=== PAUSE TestAccSageMakerEndpointConfiguration_ProductionVariants_initialVariantWeight
=== RUN TestAccSageMakerEndpointConfiguration_ProductionVariants_acceleratorType
=== PAUSE TestAccSageMakerEndpointConfiguration_ProductionVariants_acceleratorType
=== RUN TestAccSageMakerEndpointConfiguration_ProductionVariants_variantNameGenerated
=== PAUSE TestAccSageMakerEndpointConfiguration_ProductionVariants_variantNameGenerated
=== RUN TestAccSageMakerEndpointConfiguration_kmsKeyID
=== PAUSE TestAccSageMakerEndpointConfiguration_kmsKeyID
=== RUN TestAccSageMakerEndpointConfiguration_tags
=== PAUSE TestAccSageMakerEndpointConfiguration_tags
=== RUN TestAccSageMakerEndpointConfiguration_dataCapture
=== PAUSE TestAccSageMakerEndpointConfiguration_dataCapture
=== RUN TestAccSageMakerEndpointConfiguration_dataCapture_inputAndOutput
=== PAUSE TestAccSageMakerEndpointConfiguration_dataCapture_inputAndOutput
=== RUN TestAccSageMakerEndpointConfiguration_disappears
=== PAUSE TestAccSageMakerEndpointConfiguration_disappears
=== RUN TestAccSageMakerEndpointConfiguration_async
=== PAUSE TestAccSageMakerEndpointConfiguration_async
=== RUN TestAccSageMakerEndpointConfiguration_async_includeInference
=== PAUSE TestAccSageMakerEndpointConfiguration_async_includeInference
=== RUN TestAccSageMakerEndpointConfiguration_async_kms
=== PAUSE TestAccSageMakerEndpointConfiguration_async_kms
=== RUN TestAccSageMakerEndpointConfiguration_Async_notif
=== PAUSE TestAccSageMakerEndpointConfiguration_Async_notif
=== RUN TestAccSageMakerEndpointConfiguration_Async_client
=== PAUSE TestAccSageMakerEndpointConfiguration_Async_client
=== RUN TestAccSageMakerEndpointConfiguration_Async_client_failurePath
=== PAUSE TestAccSageMakerEndpointConfiguration_Async_client_failurePath
=== RUN TestAccSageMakerEndpointConfiguration_upgradeToEnableSSMAccess
=== PAUSE TestAccSageMakerEndpointConfiguration_upgradeToEnableSSMAccess
=== RUN TestAccSageMakerEndpointConfiguration_productionVariantsManagedInstanceScaling
=== PAUSE TestAccSageMakerEndpointConfiguration_productionVariantsManagedInstanceScaling
=== CONT TestAccSageMakerEndpointConfiguration_basic
=== CONT TestAccSageMakerEndpointConfiguration_tags
=== CONT TestAccSageMakerEndpointConfiguration_ProductionVariants_ami
--- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_ami (24.16s)
=== CONT TestAccSageMakerEndpointConfiguration_kmsKeyID
--- PASS: TestAccSageMakerEndpointConfiguration_basic (28.43s)
=== CONT TestAccSageMakerEndpointConfiguration_ProductionVariants_variantNameGenerated
--- PASS: TestAccSageMakerEndpointConfiguration_tags (38.36s)
=== CONT TestAccSageMakerEndpointConfiguration_ProductionVariants_acceleratorType
--- PASS: TestAccSageMakerEndpointConfiguration_kmsKeyID (19.32s)
=== CONT TestAccSageMakerEndpointConfiguration_ProductionVariants_initialVariantWeight
--- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_variantNameGenerated (21.57s)
=== CONT TestAccSageMakerEndpointConfiguration_ProductionVariants_serverlessProvisionedConcurrency
--- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_acceleratorType (24.11s)
=== CONT TestAccSageMakerEndpointConfiguration_async_kms
--- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_initialVariantWeight (21.35s)
=== CONT TestAccSageMakerEndpointConfiguration_productionVariantsManagedInstanceScaling
--- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_serverlessProvisionedConcurrency (19.70s)
=== CONT TestAccSageMakerEndpointConfiguration_upgradeToEnableSSMAccess
--- PASS: TestAccSageMakerEndpointConfiguration_async_kms (26.76s)
=== CONT TestAccSageMakerEndpointConfiguration_Async_client_failurePath
--- PASS: TestAccSageMakerEndpointConfiguration_productionVariantsManagedInstanceScaling (27.57s)
=== CONT TestAccSageMakerEndpointConfiguration_Async_client
--- PASS: TestAccSageMakerEndpointConfiguration_Async_client_failurePath (20.67s)
=== CONT TestAccSageMakerEndpointConfiguration_Async_notif
--- PASS: TestAccSageMakerEndpointConfiguration_upgradeToEnableSSMAccess (41.96s)
=== CONT TestAccSageMakerEndpointConfiguration_disappears
--- PASS: TestAccSageMakerEndpointConfiguration_Async_client (22.47s)
=== CONT TestAccSageMakerEndpointConfiguration_async_includeInference
--- PASS: TestAccSageMakerEndpointConfiguration_Async_notif (25.39s)
=== CONT TestAccSageMakerEndpointConfiguration_async
--- PASS: TestAccSageMakerEndpointConfiguration_disappears (24.22s)
=== CONT TestAccSageMakerEndpointConfiguration_ProductionVariants_serverless
--- PASS: TestAccSageMakerEndpointConfiguration_async_includeInference (22.23s)
=== CONT TestAccSageMakerEndpointConfiguration_ProductionVariants_routing
--- PASS: TestAccSageMakerEndpointConfiguration_async (21.01s)
=== CONT TestAccSageMakerEndpointConfiguration_dataCapture_inputAndOutput
--- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_serverless (21.18s)
=== CONT TestAccSageMakerEndpointConfiguration_dataCapture
--- PASS: TestAccSageMakerEndpointConfiguration_ProductionVariants_routing (21.69s)
=== CONT TestAccSageMakerEndpointConfiguration_namePrefix
--- PASS: TestAccSageMakerEndpointConfiguration_dataCapture_inputAndOutput (22.28s)
=== CONT TestAccSageMakerEndpointConfiguration_nameGenerated
--- PASS: TestAccSageMakerEndpointConfiguration_namePrefix (21.61s)
=== CONT TestAccSageMakerEndpointConfiguration_shadowProductionVariants
--- PASS: TestAccSageMakerEndpointConfiguration_dataCapture (27.16s)
--- PASS: TestAccSageMakerEndpointConfiguration_nameGenerated (24.36s)
--- PASS: TestAccSageMakerEndpointConfiguration_shadowProductionVariants (24.81s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/sagemaker 209.998s
@deepakbshetty Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.67.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
Add managed_instance_scaling to sagemaker endpoint config production_variants
Relations
Fixes #35011
References
Create Endpint Config API
Output from Acceptance Testing